var server = require('./server'),
	router = require('./router'),
	requestHandlers = require('./requestHandlers');

var handle = {};
handle['/'] = requestHandlers.start;
handle['/start'] = requestHandlers.start;
handle['/upload'] = requestHandlers.upload;
handle['/uploadImg'] = requestHandlers.uploadImg;
handle['/show'] = requestHandlers.show;

server.startServer(router.route, handle); // 第一个是路由，第二个是根据不同的路径处理请求